home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Beta / Quicktime 2.0 Beta.iso / Programming Stuff / Interfaces / Universal Interfaces / Scrap.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-30  |  1.3 KB  |  62 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        Scrap.h
  3.  
  4.     Copyright:    © 1984-1993 by Apple Computer, Inc., all rights reserved.
  5.  
  6.     WARNING
  7.     This file was auto generated by the interfacer tool. Modifications
  8.     must be made to the master file.
  9.  
  10. */
  11.  
  12. #ifndef __SCRAP__
  13. #define __SCRAP__
  14.  
  15. #ifndef __TYPES__
  16. #include <Types.h>
  17. /*    #include <ConditionalMacros.h>                                */
  18. /*    #include <MixedMode.h>                                        */
  19. /*        #include <Traps.h>                                        */
  20. #endif
  21.  
  22. #if defined(powerc) || defined (__powerc)
  23. #pragma options align=mac68k
  24. #endif
  25. struct ScrapStuff {
  26.     long                        scrapSize;
  27.     Handle                        scrapHandle;
  28.     short                        scrapCount;
  29.     short                        scrapState;
  30.     StringPtr                    scrapName;
  31. };
  32. #if defined(powerc) || defined(__powerc)
  33. #pragma options align=reset
  34. #endif
  35.  
  36. typedef struct ScrapStuff ScrapStuff;
  37.  
  38. typedef ScrapStuff *PScrapStuff;
  39.  
  40. #ifdef __cplusplus
  41. extern "C" {
  42. #endif
  43.  
  44. extern pascal PScrapStuff InfoScrap(void)
  45.  ONEWORDINLINE(0xA9F9);
  46. extern pascal long UnloadScrap(void)
  47.  ONEWORDINLINE(0xA9FA);
  48. extern pascal long LoadScrap(void)
  49.  ONEWORDINLINE(0xA9FB);
  50. extern pascal long GetScrap(Handle hDest, ResType theType, long *offset)
  51.  ONEWORDINLINE(0xA9FD);
  52. extern pascal long ZeroScrap(void)
  53.  ONEWORDINLINE(0xA9FC);
  54. extern pascal long PutScrap(long length, ResType theType, Ptr source)
  55.  ONEWORDINLINE(0xA9FE);
  56. #ifdef __cplusplus
  57. }
  58. #endif
  59.  
  60. #endif
  61.  
  62.